// Stereo matching Testing System Beta1 
// Author: Qiaosong Wang, CIS Department, University of Delaware
// http://qiaosong.co.nr

#pragma once
#include "afxwin.h"

// CmymfcDlg dialog
class CmymfcDlg : public CDialog
{
// Construction
public:
	CmymfcDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	enum { IDD = IDD_MYMFC_DIALOG };

	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support


// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnBnClickedReadimg();
	void ShowImage( IplImage* img, UINT ID );	
	IplImage* LeftinputImage;
    IplImage* RightinputImage;
	afx_msg void OnBnClickedNCCmatch();
	void ResizeImage(IplImage* img);
	afx_msg void OnBnClickedReadimg2();
	afx_msg void OnStnClickedShowimg();
	afx_msg void OnBnClickedNCCmatch2();

	afx_msg void OnBnClickedSadmatch();
	afx_msg void OnBnClickedSsdmatch();
	afx_msg void OnBnClickedSadbm();
	afx_msg void OnBnClickedSgbm();
	afx_msg void OnBnClickedGc();
	afx_msg void OnEnChangewindowsize();
	afx_msg void OnBnClickedButton3();
	int windowsize;
	afx_msg void OnEnChangeEdit2();
	afx_msg void OnEnChangeEdit3();
	afx_msg void OnBnClickedButton4();
	afx_msg void OnBnClickedAnag();
	afx_msg void OnBnClickedButton6();
	afx_msg void OnBnClickedButton7();
	afx_msg void OnBnClickedButton8();
};
